package com.project.entity;

import com.project.myBeans.EntitySupport;
import com.project.myBeans.TeacherInfoDetail;

public class Course extends EntitySupport{

    /**
     * 主键id
     */
    private Integer id;

    /**
     * 课程名
     */
    private String name;

    /**
     * 创建者id
     */
    private Integer creatorid;

    /**
     * 课程维护者
     */
    private Integer maintainerid;

    /**
     * 附加字段
     * @return
     */
    private TeacherInfoDetail creator;  //创建者详情
    private TeacherInfoDetail maintainer;   //  维护者详情

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getCreatorid() {
        return creatorid;
    }

    public void setCreatorid(Integer creatorid) {
        this.creatorid = creatorid;
    }

    public Integer getMaintainerid() {
        return maintainerid;
    }

    public void setMaintainerid(Integer maintainerid) {
        this.maintainerid = maintainerid;
    }

    public TeacherInfoDetail getCreator() {
        return creator;
    }

    public void setCreator(TeacherInfoDetail creator) {
        this.creator = creator;
    }

    public TeacherInfoDetail getMaintainer() {
        return maintainer;
    }

    public void setMaintainer(TeacherInfoDetail maintainer) {
        this.maintainer = maintainer;
    }
}
